/*
Copyright SecureKey Technologies Inc. All Rights Reserved.

SPDX-License-Identifier: Apache-2.0
*/
package lazyref

import "time"

// NewSimpleExpirationProvider 返回一个过期时间
func NewSimpleExpirationProvider(expiry time.Duration) ExpirationProvider {
	return func() time.Duration {
		return expiry
	}
}
